﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="UserProfile.aspx.cs" Inherits="UserProfile" Title="&#1040;&#1090;&#1072;&#1084;&#1072;&#1085; &#1084;&#1077;&#1073;&#1077;&#1083;&#1100;: &#1051;&#1080;&#1095;&#1085;&#1099;&#1081; &#1082;&#1072;&#1073;&#1080;&#1085;&#1077;&#1090;" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="pagetitle">Личный кабинет</div>
        <div class="contact">
        <div class="clear">
            <asp:ChangePassword ID="ChangePassword1" runat="server" CssClass="userForm">
                <ChangePasswordTemplate>
                    <h1>Change Your Password</h1>
                    <div class="currentPass">
                        <asp:Label ID="CurrentPasswordLabel" runat="server" AssociatedControlID="CurrentPassword" Text="Password" CssClass="label" />
                        <asp:TextBox ID="CurrentPassword" runat="server" TextMode="Password" CssClass="form" />
                        <asp:RequiredFieldValidator ID="CurrentPasswordRequired" runat="server" ControlToValidate="CurrentPassword" 
                        ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="ChangePassword1">*
                        </asp:RequiredFieldValidator>
                    </div>
                    <div class="newPass">
                        <asp:Label ID="NewPasswordLabel" runat="server" AssociatedControlID="NewPassword" Text="New Password" CssClass="label" />
                        <asp:TextBox ID="NewPassword" runat="server" TextMode="Password" CssClass="form" />
                        <asp:RequiredFieldValidator ID="NewPasswordRequired" runat="server" ControlToValidate="NewPassword" 
                        ErrorMessage="New Password is required." ToolTip="New Password is required." ValidationGroup="ChangePassword1">*
                        </asp:RequiredFieldValidator>
                    </div>
                    <div class="confirmPas">
                        <asp:Label ID="ConfirmNewPasswordLabel" runat="server" AssociatedControlID="ConfirmNewPassword" Text="Confirm New Password" CssClass="label" />
                        <asp:TextBox ID="ConfirmNewPassword" runat="server" TextMode="Password" CssClass="form" />
                        <asp:RequiredFieldValidator ID="ConfirmNewPasswordRequired" runat="server" ControlToValidate="ConfirmNewPassword" 
                        ErrorMessage="Confirm New Password is required." ToolTip="Confirm New Password is required." ValidationGroup="ChangePassword1">*
                        </asp:RequiredFieldValidator>
                    </div>
                    <asp:CompareValidator ID="NewPasswordCompare" runat="server" ControlToCompare="NewPassword" 
                    ControlToValidate="ConfirmNewPassword" Display="Dynamic" ErrorMessage="The Confirm New Password must match the New Password entry."
                    ValidationGroup="ChangePassword1"></asp:CompareValidator>
                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False" />
                    <asp:Button ID="ChangePasswordPushButton" runat="server" CommandName="ChangePassword" Text="Change Password" 
                    ValidationGroup="ChangePassword1" CssClass="changePassButton" />
                    <asp:Button ID="CancelPushButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" CssClass="cancelButton" />
                </ChangePasswordTemplate>
            </asp:ChangePassword>
        </div>
    </div>
</asp:Content>
